/**
 * @author gh
 */
package com.wk1un2.entity;


/**
 * @author Administrator
 *
 */
public class Message {// ����ʵ����
	private Integer message_id;
	private Integer u_id;
	private String message_contents;
	private String message_time;
	private String message_replycontents;
	private String message_replytime;
	private Integer message_state;
	private String ext2;

	public Message(Integer message_id, Integer u_id, String message_contents, String message_time,
			String message_replycontents, String message_replytime, Integer message_state, String ext2) {
		super();
		this.message_id = message_id;
		this.u_id = u_id;
		this.message_contents = message_contents;
		this.message_time = message_time;
		this.message_replycontents = message_replycontents;
		this.message_replytime = message_replytime;
		this.message_state = message_state;
		this.ext2 = ext2;
	}

	public Message() {
		super();
	}

	/**
	 * @return the message_id
	 */
	public Integer getMessage_id() {
		return message_id;
	}

	/**
	 * @param message_id the message_id to set
	 */
	public void setMessage_id(Integer message_id) {
		this.message_id = message_id;
	}

	/**
	 * @return the u_id
	 */
	public Integer getU_id() {
		return u_id;
	}

	/**
	 * @param u_id the u_id to set
	 */
	public void setU_id(Integer u_id) {
		this.u_id = u_id;
	}

	/**
	 * @return the message_contents
	 */
	public String getMessage_contents() {
		return message_contents;
	}

	/**
	 * @param message_contents the message_contents to set
	 */
	public void setMessage_contents(String message_contents) {
		this.message_contents = message_contents;
	}

	/**
	 * @return the message_time
	 */
	public String getMessage_time() {
		return message_time;
	}

	/**
	 * @param message_time the message_time to set
	 */
	public void setMessage_time(String message_time) {
		this.message_time = message_time;
	}

	/**
	 * @return the message_replycontents
	 */
	public String getMessage_replycontents() {
		return message_replycontents;
	}

	/**
	 * @param message_replycontents the message_replycontents to set
	 */
	public void setMessage_replycontents(String message_replycontents) {
		this.message_replycontents = message_replycontents;
	}

	/**
	 * @return the message_replytime
	 */
	public String getMessage_replytime() {
		return message_replytime;
	}

	/**
	 * @param message_replytime the message_replytime to set
	 */
	public void setMessage_replytime(String message_replytime) {
		this.message_replytime = message_replytime;
	}

	/**
	 * @return the message_state
	 */
	public Integer getMessage_state() {
		return message_state;
	}

	/**
	 * @param message_state the message_state to set
	 */
	public void setMessage_state(Integer message_state) {
		this.message_state = message_state;
	}

	/**
	 * @return the ext2
	 */
	public String getExt2() {
		return ext2;
	}

	/**
	 * @param ext2 the ext2 to set
	 */
	public void setExt2(String ext2) {
		this.ext2 = ext2;
	}

	@Override
	public String toString() {
		return "Message [message_id=" + message_id + ", u_id=" + u_id + ", message_contents=" + message_contents
				+ ", message_time=" + message_time + ", message_replycontents=" + message_replycontents
				+ ", message_replytime=" + message_replytime + ", message_state=" + message_state + ", ext2=" + ext2
				+ "]";
	}

}
